<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<title>网络新闻应急性管理系统</title>

	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="this is my page">
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="/res/style/common.css">
	<link rel="stylesheet" type="text/css" href="/res/style/admin.css">
	<link rel="stylesheet" type="text/css"
		href="/res/style/news_management.css">
	<script type="text/javascript" src="/res/script/common.js"></script>
	<script type="text/javascript" src="/res/script/menu.js"></script>
</head>

<body>
	<div class="MainDiv">
		<jsp:include page="/page/admin/adminHeader.jsp"></jsp:include>
		<jsp:include page="/page/admin/adminLeft.html"></jsp:include>
		<!-- 内容部分 -->
		<div class="ContentDiv">
			<div></div>
			<div class="NewsItem">
				<div>
					<label>1</label>
				</div>
				<div class="NewsTitle">
					<a href="">新闻标题</a>
				</div>
				<label>发布时间</label> <label>关注度：</label> <label>评论度 ：</label>
				<div>
					<button>删除</button>
					<button>编辑</button>
					<button>展开</button>
				</div>
			</div>

			<c:forEach items="${newsList}" var="n" varStatus="nStatus">
				<div class="NewsItem">
					<div class="NewsTitleDiv">
						<div class="IndexDiv">
							<label>${nStatus.index + 1}</label>
						</div>
						<div class="NewsTitle">
							<a href="">${n.mainTitle}</a>
						</div>
					</div>
					<div class="PublishTimeDiv"><label>发布时间：${n.releaseTime }</label></div>
					<div class="BottomDiv">
						<div class="EstimateDiv"><label>关注：${n.concernCount }</label> <label>评论 ：${n.commentCount }</label></div>
						<div class="ButtonDiv">
							<button>删除</button>
							<button>编辑</button>
							<button>展开</button>
						</div>
					</div>
				</div>
			</c:forEach>
		</div>
	</div>
	<jsp:include page="/page/admin/adminFooter.html"></jsp:include>
</body>
</html>
